From 8f83b7e2ea1961c0bd712e1a4c64ef39ba1b5a96 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild2.aw" Date: Fri, 8 Dec 2006 11:31:29 -0700 Subject: [PATCH] [IA64] avoid freeing arch.privregs twice Not sure how this worked before, but mapping vcpu regs into guest pseudo phys space causes extra problems. Signed-off-by: Alex Williamson --- xen/arch/ia64/xen/dom0_ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/ia64/xen/dom0_ops.c b/xen/arch/ia64/xen/dom0_ops.c index e0aaff58d6..e21c96f827 100644 --- a/xen/arch/ia64/xen/dom0_ops.c +++ b/xen/arch/ia64/xen/dom0_ops.c @@ -109,6 +109,7 @@ long arch_do_domctl(xen_domctl_t *op, XEN_GUEST_HANDLE(xen_domctl_t) u_domctl) BUG_ON(v->arch.privregs == NULL); free_domheap_pages(virt_to_page(v->arch.privregs), get_order_from_shift(XMAPPEDREGS_SHIFT)); + v->arch.privregs = NULL; relinquish_vcpu_resources(v); } } -- 2.30.2